<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>NumCpp: nc::random Namespace Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="NumCppLogoDoxygen.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">NumCpp
   &#160;<span id="projectnumber">2.3.1</span>
   </div>
   <div id="projectbrief">A Templatized Header Only C++ Implementation of the Python NumPy Library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('namespacenc_1_1random.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">nc::random Namespace Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ae9acf3bca4da5307534d454cfa55d57c"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:ae9acf3bca4da5307534d454cfa55d57c"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#ae9acf3bca4da5307534d454cfa55d57c">bernoulli</a> (const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;inShape, dtype inP)</td></tr>
<tr class="separator:ae9acf3bca4da5307534d454cfa55d57c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae6cf7419d9b8943b63209faa3a09bb4a"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:ae6cf7419d9b8943b63209faa3a09bb4a"><td class="memTemplItemLeft" align="right" valign="top">dtype&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#ae6cf7419d9b8943b63209faa3a09bb4a">bernoulli</a> (dtype inP)</td></tr>
<tr class="separator:ae6cf7419d9b8943b63209faa3a09bb4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7de94b949521786b7bde650b1e813fa"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:ab7de94b949521786b7bde650b1e813fa"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#ab7de94b949521786b7bde650b1e813fa">beta</a> (const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;inShape, dtype inAlpha, dtype inBeta)</td></tr>
<tr class="separator:ab7de94b949521786b7bde650b1e813fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9cf5ddddc350278c76e077c67b5254ab"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:a9cf5ddddc350278c76e077c67b5254ab"><td class="memTemplItemLeft" align="right" valign="top">dtype&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#a9cf5ddddc350278c76e077c67b5254ab">beta</a> (dtype inAlpha, dtype inBeta)</td></tr>
<tr class="separator:a9cf5ddddc350278c76e077c67b5254ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a83099ec22905c3ad69984a94d823a3d8"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:a83099ec22905c3ad69984a94d823a3d8"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#a83099ec22905c3ad69984a94d823a3d8">binomial</a> (const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;inShape, dtype inN, double inP=0.5)</td></tr>
<tr class="separator:a83099ec22905c3ad69984a94d823a3d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13657004ec565f15648a520e3d060002"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:a13657004ec565f15648a520e3d060002"><td class="memTemplItemLeft" align="right" valign="top">dtype&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#a13657004ec565f15648a520e3d060002">binomial</a> (dtype inN, double inP=0.5)</td></tr>
<tr class="separator:a13657004ec565f15648a520e3d060002"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61dc9fcfaee6e2a74e3f2e1f0e9c039b"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:a61dc9fcfaee6e2a74e3f2e1f0e9c039b"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#a61dc9fcfaee6e2a74e3f2e1f0e9c039b">cauchy</a> (const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;inShape, dtype inMean=0, dtype inSigma=1)</td></tr>
<tr class="separator:a61dc9fcfaee6e2a74e3f2e1f0e9c039b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa72b221b82940e126a4c740ee55b269b"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:aa72b221b82940e126a4c740ee55b269b"><td class="memTemplItemLeft" align="right" valign="top">dtype&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#aa72b221b82940e126a4c740ee55b269b">cauchy</a> (dtype inMean=0, dtype inSigma=1)</td></tr>
<tr class="separator:aa72b221b82940e126a4c740ee55b269b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a329370aed893f0e10a8050520cf0bbd4"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:a329370aed893f0e10a8050520cf0bbd4"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#a329370aed893f0e10a8050520cf0bbd4">chiSquare</a> (const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;inShape, dtype inDof)</td></tr>
<tr class="separator:a329370aed893f0e10a8050520cf0bbd4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb480e9a17b71ea09ef0f043c081e9ff"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:abb480e9a17b71ea09ef0f043c081e9ff"><td class="memTemplItemLeft" align="right" valign="top">dtype&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#abb480e9a17b71ea09ef0f043c081e9ff">chiSquare</a> (dtype inDof)</td></tr>
<tr class="separator:abb480e9a17b71ea09ef0f043c081e9ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad60ec32743642bd0540fec0076043fed"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:ad60ec32743642bd0540fec0076043fed"><td class="memTemplItemLeft" align="right" valign="top">dtype&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#ad60ec32743642bd0540fec0076043fed">choice</a> (const <a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt; &amp;inArray)</td></tr>
<tr class="separator:ad60ec32743642bd0540fec0076043fed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a550d14627dafe31efa2e66a10d2fce73"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:a550d14627dafe31efa2e66a10d2fce73"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#a550d14627dafe31efa2e66a10d2fce73">choice</a> (const <a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt; &amp;inArray, <a class="el" href="namespacenc.html#af0f49663fb63332596e2e6327009d581">uint32</a> inNum)</td></tr>
<tr class="separator:a550d14627dafe31efa2e66a10d2fce73"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ea5db9ee73d9f7a633e5899e4be2c94"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:a2ea5db9ee73d9f7a633e5899e4be2c94"><td class="memTemplItemLeft" align="right" valign="top">dtype&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#a2ea5db9ee73d9f7a633e5899e4be2c94">discrete</a> (const <a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; double &gt; &amp;inWeights)</td></tr>
<tr class="separator:a2ea5db9ee73d9f7a633e5899e4be2c94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5367b53538e888028853607e1c522a4"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:ae5367b53538e888028853607e1c522a4"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#ae5367b53538e888028853607e1c522a4">discrete</a> (const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;inShape, const <a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; double &gt; &amp;inWeights)</td></tr>
<tr class="separator:ae5367b53538e888028853607e1c522a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d71db2fa4d818d737554405776d2aea"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:a5d71db2fa4d818d737554405776d2aea"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#a5d71db2fa4d818d737554405776d2aea">exponential</a> (const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;inShape, dtype inScaleValue=1)</td></tr>
<tr class="separator:a5d71db2fa4d818d737554405776d2aea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a278212d1b177cb2bba47215d083bb10f"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:a278212d1b177cb2bba47215d083bb10f"><td class="memTemplItemLeft" align="right" valign="top">dtype&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#a278212d1b177cb2bba47215d083bb10f">exponential</a> (dtype inScaleValue=1)</td></tr>
<tr class="separator:a278212d1b177cb2bba47215d083bb10f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a5f569b594585794e6b268576d2e587"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:a6a5f569b594585794e6b268576d2e587"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#a6a5f569b594585794e6b268576d2e587">extremeValue</a> (const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;inShape, dtype inA=1, dtype inB=1)</td></tr>
<tr class="separator:a6a5f569b594585794e6b268576d2e587"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11144426dec05283d6c682e0e532af7e"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:a11144426dec05283d6c682e0e532af7e"><td class="memTemplItemLeft" align="right" valign="top">dtype&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#a11144426dec05283d6c682e0e532af7e">extremeValue</a> (dtype inA=1, dtype inB=1)</td></tr>
<tr class="separator:a11144426dec05283d6c682e0e532af7e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aabf17da1f94e6da4ec99085feca10799"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:aabf17da1f94e6da4ec99085feca10799"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#aabf17da1f94e6da4ec99085feca10799">f</a> (const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;inShape, dtype inDofN, dtype inDofD)</td></tr>
<tr class="separator:aabf17da1f94e6da4ec99085feca10799"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00229c23da25284daf436c0a338ea25c"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:a00229c23da25284daf436c0a338ea25c"><td class="memTemplItemLeft" align="right" valign="top">dtype&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#a00229c23da25284daf436c0a338ea25c">f</a> (dtype inDofN, dtype inDofD)</td></tr>
<tr class="separator:a00229c23da25284daf436c0a338ea25c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa706a2bd65cb664ae9af10f713661d79"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:aa706a2bd65cb664ae9af10f713661d79"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#aa706a2bd65cb664ae9af10f713661d79">gamma</a> (const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;inShape, dtype inGammaShape, dtype inScaleValue=1)</td></tr>
<tr class="separator:aa706a2bd65cb664ae9af10f713661d79"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a969335423de5ad59fed5e952189e2d"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:a0a969335423de5ad59fed5e952189e2d"><td class="memTemplItemLeft" align="right" valign="top">dtype&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#a0a969335423de5ad59fed5e952189e2d">gamma</a> (dtype inGammaShape, dtype inScaleValue=1)</td></tr>
<tr class="separator:a0a969335423de5ad59fed5e952189e2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae761ff6e68fb0708061704bee4a3a7e3"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:ae761ff6e68fb0708061704bee4a3a7e3"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#ae761ff6e68fb0708061704bee4a3a7e3">geometric</a> (const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;inShape, double inP=0.5)</td></tr>
<tr class="separator:ae761ff6e68fb0708061704bee4a3a7e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7199f5c06c0e05440e9a97e01930b896"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:a7199f5c06c0e05440e9a97e01930b896"><td class="memTemplItemLeft" align="right" valign="top">dtype&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#a7199f5c06c0e05440e9a97e01930b896">geometric</a> (double inP=0.5)</td></tr>
<tr class="separator:a7199f5c06c0e05440e9a97e01930b896"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2ecb1401cb11a3c816073fcbc7b05b5"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:ab2ecb1401cb11a3c816073fcbc7b05b5"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#ab2ecb1401cb11a3c816073fcbc7b05b5">laplace</a> (const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;inShape, dtype inLoc=0, dtype inScale=1)</td></tr>
<tr class="separator:ab2ecb1401cb11a3c816073fcbc7b05b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76e5b2a6feb9bf6a05c5dd9402f9c62f"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:a76e5b2a6feb9bf6a05c5dd9402f9c62f"><td class="memTemplItemLeft" align="right" valign="top">dtype&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#a76e5b2a6feb9bf6a05c5dd9402f9c62f">laplace</a> (dtype inLoc=0, dtype inScale=1)</td></tr>
<tr class="separator:a76e5b2a6feb9bf6a05c5dd9402f9c62f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3adc9de1025d27ed485603980657225b"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:a3adc9de1025d27ed485603980657225b"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#a3adc9de1025d27ed485603980657225b">lognormal</a> (const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;inShape, dtype inMean=0, dtype inSigma=1)</td></tr>
<tr class="separator:a3adc9de1025d27ed485603980657225b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03d5528a3a97b3731210ba2cc5d1c75d"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:a03d5528a3a97b3731210ba2cc5d1c75d"><td class="memTemplItemLeft" align="right" valign="top">dtype&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#a03d5528a3a97b3731210ba2cc5d1c75d">lognormal</a> (dtype inMean=0, dtype inSigma=1)</td></tr>
<tr class="separator:a03d5528a3a97b3731210ba2cc5d1c75d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6181e54b9cae303574f9c5fad33cfc2"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:ac6181e54b9cae303574f9c5fad33cfc2"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#ac6181e54b9cae303574f9c5fad33cfc2">negativeBinomial</a> (const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;inShape, dtype inN, double inP=0.5)</td></tr>
<tr class="separator:ac6181e54b9cae303574f9c5fad33cfc2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a15a08fe9134f5dcf5e7b32eb1de5e2"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:a1a15a08fe9134f5dcf5e7b32eb1de5e2"><td class="memTemplItemLeft" align="right" valign="top">dtype&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#a1a15a08fe9134f5dcf5e7b32eb1de5e2">negativeBinomial</a> (dtype inN, double inP=0.5)</td></tr>
<tr class="separator:a1a15a08fe9134f5dcf5e7b32eb1de5e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af01395c7355ee4c0f36441c40039e82d"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:af01395c7355ee4c0f36441c40039e82d"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#af01395c7355ee4c0f36441c40039e82d">nonCentralChiSquared</a> (const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;inShape, dtype inK=1, dtype inLambda=1)</td></tr>
<tr class="separator:af01395c7355ee4c0f36441c40039e82d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf3cab0396026700ebf2d2ffa5e13fa6"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:abf3cab0396026700ebf2d2ffa5e13fa6"><td class="memTemplItemLeft" align="right" valign="top">dtype&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#abf3cab0396026700ebf2d2ffa5e13fa6">nonCentralChiSquared</a> (dtype inK=1, dtype inLambda=1)</td></tr>
<tr class="separator:abf3cab0396026700ebf2d2ffa5e13fa6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab655c4af3dac07aeff39efd50c120f4d"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:ab655c4af3dac07aeff39efd50c120f4d"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#ab655c4af3dac07aeff39efd50c120f4d">normal</a> (const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;inShape, dtype inMean=0, dtype inSigma=1)</td></tr>
<tr class="separator:ab655c4af3dac07aeff39efd50c120f4d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d52ff6ccaa63bc36348ba39e5936056"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:a0d52ff6ccaa63bc36348ba39e5936056"><td class="memTemplItemLeft" align="right" valign="top">dtype&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#a0d52ff6ccaa63bc36348ba39e5936056">normal</a> (dtype inMean=0, dtype inSigma=1)</td></tr>
<tr class="separator:a0d52ff6ccaa63bc36348ba39e5936056"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2ddd4fda3731e5f66378b191804085f"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:ac2ddd4fda3731e5f66378b191804085f"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#ac2ddd4fda3731e5f66378b191804085f">permutation</a> (const <a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt; &amp;inArray)</td></tr>
<tr class="separator:ac2ddd4fda3731e5f66378b191804085f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a01eed1c9d55b68fa4c93afef918dd3e0"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:a01eed1c9d55b68fa4c93afef918dd3e0"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#a01eed1c9d55b68fa4c93afef918dd3e0">permutation</a> (dtype inValue)</td></tr>
<tr class="separator:a01eed1c9d55b68fa4c93afef918dd3e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae103ffefefe45e4b64067d52a1763f24"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:ae103ffefefe45e4b64067d52a1763f24"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#ae103ffefefe45e4b64067d52a1763f24">poisson</a> (const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;inShape, double inMean=1)</td></tr>
<tr class="separator:ae103ffefefe45e4b64067d52a1763f24"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae18029c16ca489ea9db6331c609b20e8"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:ae18029c16ca489ea9db6331c609b20e8"><td class="memTemplItemLeft" align="right" valign="top">dtype&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#ae18029c16ca489ea9db6331c609b20e8">poisson</a> (double inMean=1)</td></tr>
<tr class="separator:ae18029c16ca489ea9db6331c609b20e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f5694167e15a8bc566a3fa6f842c3b4"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:a0f5694167e15a8bc566a3fa6f842c3b4"><td class="memTemplItemLeft" align="right" valign="top">dtype&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#a0f5694167e15a8bc566a3fa6f842c3b4">rand</a> ()</td></tr>
<tr class="separator:a0f5694167e15a8bc566a3fa6f842c3b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4552f49c72dc1a4d8426643fce14f214"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:a4552f49c72dc1a4d8426643fce14f214"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#a4552f49c72dc1a4d8426643fce14f214">rand</a> (const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;inShape)</td></tr>
<tr class="separator:a4552f49c72dc1a4d8426643fce14f214"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a531b5487f2f3e54fab878340277f7283"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:a531b5487f2f3e54fab878340277f7283"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#a531b5487f2f3e54fab878340277f7283">randFloat</a> (const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;inShape, dtype inLow, dtype inHigh=0.0)</td></tr>
<tr class="separator:a531b5487f2f3e54fab878340277f7283"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a261ae2a0f7783f2a5262a22b18412f"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:a4a261ae2a0f7783f2a5262a22b18412f"><td class="memTemplItemLeft" align="right" valign="top">dtype&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#a4a261ae2a0f7783f2a5262a22b18412f">randFloat</a> (dtype inLow, dtype inHigh=0.0)</td></tr>
<tr class="separator:a4a261ae2a0f7783f2a5262a22b18412f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2842db744ad52ca905a48cd281934fd3"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:a2842db744ad52ca905a48cd281934fd3"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#a2842db744ad52ca905a48cd281934fd3">randInt</a> (const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;inShape, dtype inLow, dtype inHigh=0)</td></tr>
<tr class="separator:a2842db744ad52ca905a48cd281934fd3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43201ec4ec8e0c99041647ab45ac0133"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:a43201ec4ec8e0c99041647ab45ac0133"><td class="memTemplItemLeft" align="right" valign="top">dtype&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#a43201ec4ec8e0c99041647ab45ac0133">randInt</a> (dtype inLow, dtype inHigh=0)</td></tr>
<tr class="separator:a43201ec4ec8e0c99041647ab45ac0133"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeffa74d48c1fb2603f83eaa358f17501"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:aeffa74d48c1fb2603f83eaa358f17501"><td class="memTemplItemLeft" align="right" valign="top">dtype&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#aeffa74d48c1fb2603f83eaa358f17501">randN</a> ()</td></tr>
<tr class="separator:aeffa74d48c1fb2603f83eaa358f17501"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c6b8fb355a9ec0bd4c9e9bb8062d1f2"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:a3c6b8fb355a9ec0bd4c9e9bb8062d1f2"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#a3c6b8fb355a9ec0bd4c9e9bb8062d1f2">randN</a> (const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;inShape)</td></tr>
<tr class="separator:a3c6b8fb355a9ec0bd4c9e9bb8062d1f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a93fe76208181d041adb08a02de0966d8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#a93fe76208181d041adb08a02de0966d8">seed</a> (<a class="el" href="namespacenc.html#af0f49663fb63332596e2e6327009d581">uint32</a> inSeed)</td></tr>
<tr class="separator:a93fe76208181d041adb08a02de0966d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad73d56152095ad55887c89f47490c070"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:ad73d56152095ad55887c89f47490c070"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#ad73d56152095ad55887c89f47490c070">shuffle</a> (<a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt; &amp;inArray)</td></tr>
<tr class="separator:ad73d56152095ad55887c89f47490c070"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc9d03c66c1fa8b35dea3fa0a0f075e7"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:acc9d03c66c1fa8b35dea3fa0a0f075e7"><td class="memTemplItemLeft" align="right" valign="top">dtype&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#acc9d03c66c1fa8b35dea3fa0a0f075e7">standardNormal</a> ()</td></tr>
<tr class="separator:acc9d03c66c1fa8b35dea3fa0a0f075e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a026e31e4ef305beb2bbb546817e44eb0"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:a026e31e4ef305beb2bbb546817e44eb0"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#a026e31e4ef305beb2bbb546817e44eb0">standardNormal</a> (const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;inShape)</td></tr>
<tr class="separator:a026e31e4ef305beb2bbb546817e44eb0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c18c6c123083003f32344baeb0f4ad3"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:a5c18c6c123083003f32344baeb0f4ad3"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#a5c18c6c123083003f32344baeb0f4ad3">studentT</a> (const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;inShape, dtype inDof)</td></tr>
<tr class="separator:a5c18c6c123083003f32344baeb0f4ad3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e8074cb89e2362b5ae485834f550217"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:a9e8074cb89e2362b5ae485834f550217"><td class="memTemplItemLeft" align="right" valign="top">dtype&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#a9e8074cb89e2362b5ae485834f550217">studentT</a> (dtype inDof)</td></tr>
<tr class="separator:a9e8074cb89e2362b5ae485834f550217"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abaeed48339244cfb7f214c7238b13e8b"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:abaeed48339244cfb7f214c7238b13e8b"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#abaeed48339244cfb7f214c7238b13e8b">triangle</a> (const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;inShape, dtype inA=0, dtype inB=0.5, dtype inC=1)</td></tr>
<tr class="separator:abaeed48339244cfb7f214c7238b13e8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3dd603264757ce4334bfc0b989cd4503"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:a3dd603264757ce4334bfc0b989cd4503"><td class="memTemplItemLeft" align="right" valign="top">dtype&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#a3dd603264757ce4334bfc0b989cd4503">triangle</a> (dtype inA=0, dtype inB=0.5, dtype inC=1)</td></tr>
<tr class="separator:a3dd603264757ce4334bfc0b989cd4503"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e31096d678b7e4be66f6c59d95e5445"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:a1e31096d678b7e4be66f6c59d95e5445"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#a1e31096d678b7e4be66f6c59d95e5445">uniform</a> (const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;inShape, dtype inLow, dtype inHigh)</td></tr>
<tr class="separator:a1e31096d678b7e4be66f6c59d95e5445"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adbff3f6b80e512d4153b12bae9c6c732"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:adbff3f6b80e512d4153b12bae9c6c732"><td class="memTemplItemLeft" align="right" valign="top">dtype&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#adbff3f6b80e512d4153b12bae9c6c732">uniform</a> (dtype inLow, dtype inHigh)</td></tr>
<tr class="separator:adbff3f6b80e512d4153b12bae9c6c732"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f18a1f7b9311d52bbdc4ae7a7b84be6"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:a2f18a1f7b9311d52bbdc4ae7a7b84be6"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#a2f18a1f7b9311d52bbdc4ae7a7b84be6">uniformOnSphere</a> (<a class="el" href="namespacenc.html#af0f49663fb63332596e2e6327009d581">uint32</a> inNumPoints, <a class="el" href="namespacenc.html#af0f49663fb63332596e2e6327009d581">uint32</a> inDims=2)</td></tr>
<tr class="separator:a2f18a1f7b9311d52bbdc4ae7a7b84be6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af3a48c59aaa59d37bb5177b962d02bde"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:af3a48c59aaa59d37bb5177b962d02bde"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#af3a48c59aaa59d37bb5177b962d02bde">weibull</a> (const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;inShape, dtype inA=1, dtype inB=1)</td></tr>
<tr class="separator:af3a48c59aaa59d37bb5177b962d02bde"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3cf0bdb15264c1ace4163042756a4765"><td class="memTemplParams" colspan="2">template&lt;typename dtype &gt; </td></tr>
<tr class="memitem:a3cf0bdb15264c1ace4163042756a4765"><td class="memTemplItemLeft" align="right" valign="top">dtype&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#a3cf0bdb15264c1ace4163042756a4765">weibull</a> (dtype inA=1, dtype inB=1)</td></tr>
<tr class="separator:a3cf0bdb15264c1ace4163042756a4765"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:aa541047e6b742f1c5251e72f3b7aec95"><td class="memItemLeft" align="right" valign="top">static std::mt19937_64&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacenc_1_1random.html#aa541047e6b742f1c5251e72f3b7aec95">generator_</a></td></tr>
<tr class="memdesc:aa541047e6b742f1c5251e72f3b7aec95"><td class="mdescLeft">&#160;</td><td class="mdescRight">generator function  <a href="namespacenc_1_1random.html#aa541047e6b742f1c5251e72f3b7aec95">More...</a><br /></td></tr>
<tr class="separator:aa541047e6b742f1c5251e72f3b7aec95"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="ae9acf3bca4da5307534d454cfa55d57c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae9acf3bca4da5307534d454cfa55d57c">&#9670;&nbsp;</a></span>bernoulli() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt;dtype&gt; nc::random::bernoulli </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;&#160;</td>
          <td class="paramname"><em>inShape</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inP</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create an array of the given shape and populate it with random samples from the "bernoulli" distribution.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inShape</td><td></td></tr>
    <tr><td class="paramname">inP</td><td>(probability of success [0, 1]) </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="ae6cf7419d9b8943b63209faa3a09bb4a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae6cf7419d9b8943b63209faa3a09bb4a">&#9670;&nbsp;</a></span>bernoulli() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">dtype nc::random::bernoulli </td>
          <td>(</td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inP</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Single random value sampled from the "bernoulli" distribution.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inP</td><td>(probability of success [0, 1]) </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="ab7de94b949521786b7bde650b1e813fa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab7de94b949521786b7bde650b1e813fa">&#9670;&nbsp;</a></span>beta() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt;dtype&gt; nc::random::beta </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;&#160;</td>
          <td class="paramname"><em>inShape</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inAlpha</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inBeta</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create an array of the given shape and populate it with random samples from the "beta" distribution.</p>
<p>NumPy Reference: <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.beta.html#numpy.random.beta">https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.beta.html#numpy.random.beta</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inShape</td><td></td></tr>
    <tr><td class="paramname">inAlpha</td><td></td></tr>
    <tr><td class="paramname">inBeta</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="a9cf5ddddc350278c76e077c67b5254ab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9cf5ddddc350278c76e077c67b5254ab">&#9670;&nbsp;</a></span>beta() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">dtype nc::random::beta </td>
          <td>(</td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inAlpha</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inBeta</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Single random value sampled from the from the "beta" distribution.</p>
<p>NumPy Reference: <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.beta.html#numpy.random.beta">https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.beta.html#numpy.random.beta</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inAlpha</td><td></td></tr>
    <tr><td class="paramname">inBeta</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="a83099ec22905c3ad69984a94d823a3d8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a83099ec22905c3ad69984a94d823a3d8">&#9670;&nbsp;</a></span>binomial() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt;dtype&gt; nc::random::binomial </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;&#160;</td>
          <td class="paramname"><em>inShape</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inN</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>inP</em> = <code>0.5</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create an array of the given shape and populate it with random samples from the "binomial" distribution.</p>
<p>NumPy Reference: <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.binomial.html#numpy.random.binomial">https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.binomial.html#numpy.random.binomial</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inShape</td><td></td></tr>
    <tr><td class="paramname">inN</td><td>(number of trials) </td></tr>
    <tr><td class="paramname">inP</td><td>(probablity of success [0, 1]) </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="a13657004ec565f15648a520e3d060002"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a13657004ec565f15648a520e3d060002">&#9670;&nbsp;</a></span>binomial() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">dtype nc::random::binomial </td>
          <td>(</td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inN</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>inP</em> = <code>0.5</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Single random value sampled from the from the "binomial" distribution.</p>
<p>NumPy Reference: <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.binomial.html#numpy.random.binomial">https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.binomial.html#numpy.random.binomial</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inN</td><td>(number of trials) </td></tr>
    <tr><td class="paramname">inP</td><td>(probablity of success [0, 1]) </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="a61dc9fcfaee6e2a74e3f2e1f0e9c039b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a61dc9fcfaee6e2a74e3f2e1f0e9c039b">&#9670;&nbsp;</a></span>cauchy() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt;dtype&gt; nc::random::cauchy </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;&#160;</td>
          <td class="paramname"><em>inShape</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inMean</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inSigma</em> = <code>1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create an array of the given shape and populate it with random samples from a "cauchy" distrubution.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inShape</td><td></td></tr>
    <tr><td class="paramname">inMean</td><td>Mean value of the underlying normal distribution. Default is 0. </td></tr>
    <tr><td class="paramname">inSigma</td><td>Standard deviation of the underlying normal distribution. Should be greater than zero. Default is 1. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="aa72b221b82940e126a4c740ee55b269b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa72b221b82940e126a4c740ee55b269b">&#9670;&nbsp;</a></span>cauchy() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">dtype nc::random::cauchy </td>
          <td>(</td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inMean</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inSigma</em> = <code>1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Single random value sampled from the from the "cauchy" distrubution.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inMean</td><td>Mean value of the underlying normal distribution. Default is 0. </td></tr>
    <tr><td class="paramname">inSigma</td><td>Standard deviation of the underlying normal distribution. Should be greater than zero. Default is 1. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="a329370aed893f0e10a8050520cf0bbd4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a329370aed893f0e10a8050520cf0bbd4">&#9670;&nbsp;</a></span>chiSquare() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt;dtype&gt; nc::random::chiSquare </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;&#160;</td>
          <td class="paramname"><em>inShape</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inDof</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create an array of the given shape and populate it with random samples from the "chi square" distribution.</p>
<p>NumPy Reference: <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.chisquare.html#numpy.random.chisquare">https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.chisquare.html#numpy.random.chisquare</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inShape</td><td></td></tr>
    <tr><td class="paramname">inDof</td><td>(independent random variables) </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="abb480e9a17b71ea09ef0f043c081e9ff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abb480e9a17b71ea09ef0f043c081e9ff">&#9670;&nbsp;</a></span>chiSquare() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">dtype nc::random::chiSquare </td>
          <td>(</td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inDof</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Single random value sampled from the from the "chi square" distribution.</p>
<p>NumPy Reference: <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.chisquare.html#numpy.random.chisquare">https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.chisquare.html#numpy.random.chisquare</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inDof</td><td>(independent random variables) </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="ad60ec32743642bd0540fec0076043fed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad60ec32743642bd0540fec0076043fed">&#9670;&nbsp;</a></span>choice() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">dtype nc::random::choice </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt; &amp;&#160;</td>
          <td class="paramname"><em>inArray</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Chooses a random sample from an input array.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inArray</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>
<dl class="section examples"><dt>Examples</dt><dd><a class="el" href="_read_me_8cpp-example.html#a7">ReadMe.cpp</a>.</dd>
</dl>

</div>
</div>
<a id="a550d14627dafe31efa2e66a10d2fce73"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a550d14627dafe31efa2e66a10d2fce73">&#9670;&nbsp;</a></span>choice() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt;dtype&gt; nc::random::choice </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt; &amp;&#160;</td>
          <td class="paramname"><em>inArray</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespacenc.html#af0f49663fb63332596e2e6327009d581">uint32</a>&#160;</td>
          <td class="paramname"><em>inNum</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Chooses inNum random samples from an input array. Samples are in no way guarunteed to be unique.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inArray</td><td></td></tr>
    <tr><td class="paramname">inNum</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="a2ea5db9ee73d9f7a633e5899e4be2c94"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2ea5db9ee73d9f7a633e5899e4be2c94">&#9670;&nbsp;</a></span>discrete() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">dtype nc::random::discrete </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; double &gt; &amp;&#160;</td>
          <td class="paramname"><em>inWeights</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Single random value sampled from the from the "discrete" distrubution. It produces integers in the range [0, n) with the probability of producing each value is specified by the parameters of the distribution.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inWeights</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="ae5367b53538e888028853607e1c522a4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae5367b53538e888028853607e1c522a4">&#9670;&nbsp;</a></span>discrete() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt;dtype&gt; nc::random::discrete </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;&#160;</td>
          <td class="paramname"><em>inShape</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; double &gt; &amp;&#160;</td>
          <td class="paramname"><em>inWeights</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create an array of the given shape and populate it with random samples from a "discrete" distrubution. It produces integers in the range [0, n) with the probability of producing each value is specified by the parameters of the distribution.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inShape</td><td></td></tr>
    <tr><td class="paramname">inWeights</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="a5d71db2fa4d818d737554405776d2aea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5d71db2fa4d818d737554405776d2aea">&#9670;&nbsp;</a></span>exponential() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt;dtype&gt; nc::random::exponential </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;&#160;</td>
          <td class="paramname"><em>inShape</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inScaleValue</em> = <code>1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create an array of the given shape and populate it with random samples from a "exponential" distrubution.</p>
<p>NumPy Reference: <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.exponential.html#numpy.random.exponential">https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.exponential.html#numpy.random.exponential</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inShape</td><td></td></tr>
    <tr><td class="paramname">inScaleValue</td><td>(default 1) </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="a278212d1b177cb2bba47215d083bb10f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a278212d1b177cb2bba47215d083bb10f">&#9670;&nbsp;</a></span>exponential() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">dtype nc::random::exponential </td>
          <td>(</td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inScaleValue</em> = <code>1</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Single random value sampled from the "exponential" distrubution.</p>
<p>NumPy Reference: <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.exponential.html#numpy.random.exponential">https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.exponential.html#numpy.random.exponential</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inScaleValue</td><td>(default 1) </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="a6a5f569b594585794e6b268576d2e587"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6a5f569b594585794e6b268576d2e587">&#9670;&nbsp;</a></span>extremeValue() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt;dtype&gt; nc::random::extremeValue </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;&#160;</td>
          <td class="paramname"><em>inShape</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inA</em> = <code>1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inB</em> = <code>1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create an array of the given shape and populate it with random samples from a "extreme value" distrubution.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inShape</td><td></td></tr>
    <tr><td class="paramname">inA</td><td>(default 1) </td></tr>
    <tr><td class="paramname">inB</td><td>(default 1) </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="a11144426dec05283d6c682e0e532af7e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a11144426dec05283d6c682e0e532af7e">&#9670;&nbsp;</a></span>extremeValue() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">dtype nc::random::extremeValue </td>
          <td>(</td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inA</em> = <code>1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inB</em> = <code>1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Single random value sampled from the "extreme value" distrubution.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inA</td><td>(default 1) </td></tr>
    <tr><td class="paramname">inB</td><td>(default 1) </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="aabf17da1f94e6da4ec99085feca10799"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aabf17da1f94e6da4ec99085feca10799">&#9670;&nbsp;</a></span>f() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt;dtype&gt; nc::random::f </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;&#160;</td>
          <td class="paramname"><em>inShape</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inDofN</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inDofD</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create an array of the given shape and populate it with random samples from a "F" distrubution.</p>
<p>NumPy Reference: <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.f.html#numpy.random.f">https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.f.html#numpy.random.f</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inShape</td><td></td></tr>
    <tr><td class="paramname">inDofN</td><td>Degrees of freedom in numerator. Should be greater than zero. </td></tr>
    <tr><td class="paramname">inDofD</td><td>Degrees of freedom in denominator. Should be greater than zero. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="a00229c23da25284daf436c0a338ea25c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a00229c23da25284daf436c0a338ea25c">&#9670;&nbsp;</a></span>f() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">dtype nc::random::f </td>
          <td>(</td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inDofN</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inDofD</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Single random value sampled from the "F" distrubution.</p>
<p>NumPy Reference: <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.f.html#numpy.random.f">https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.f.html#numpy.random.f</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inDofN</td><td>Degrees of freedom in numerator. Should be greater than zero. </td></tr>
    <tr><td class="paramname">inDofD</td><td>Degrees of freedom in denominator. Should be greater than zero. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>
<dl class="section examples"><dt>Examples</dt><dd><a class="el" href="_read_me_8cpp-example.html#a49">ReadMe.cpp</a>.</dd>
</dl>

</div>
</div>
<a id="aa706a2bd65cb664ae9af10f713661d79"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa706a2bd65cb664ae9af10f713661d79">&#9670;&nbsp;</a></span>gamma() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt;dtype&gt; nc::random::gamma </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;&#160;</td>
          <td class="paramname"><em>inShape</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inGammaShape</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inScaleValue</em> = <code>1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create an array of the given shape and populate it with random samples from a "gamma" distrubution.</p>
<p>NumPy Reference: <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.gamma.html#numpy.random.gamma">https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.gamma.html#numpy.random.gamma</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inShape</td><td></td></tr>
    <tr><td class="paramname">inGammaShape</td><td></td></tr>
    <tr><td class="paramname">inScaleValue</td><td>(default 1) </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="a0a969335423de5ad59fed5e952189e2d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0a969335423de5ad59fed5e952189e2d">&#9670;&nbsp;</a></span>gamma() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">dtype nc::random::gamma </td>
          <td>(</td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inGammaShape</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inScaleValue</em> = <code>1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Single random value sampled from the "gamma" distrubution.</p>
<p>NumPy Reference: <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.gamma.html#numpy.random.gamma">https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.gamma.html#numpy.random.gamma</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inGammaShape</td><td></td></tr>
    <tr><td class="paramname">inScaleValue</td><td>(default 1) </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="ae761ff6e68fb0708061704bee4a3a7e3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae761ff6e68fb0708061704bee4a3a7e3">&#9670;&nbsp;</a></span>geometric() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt;dtype&gt; nc::random::geometric </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;&#160;</td>
          <td class="paramname"><em>inShape</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>inP</em> = <code>0.5</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create an array of the given shape and populate it with random samples from a "geometric" distrubution.</p>
<p>NumPy Reference: <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.geometric.html#numpy.random.geometric">https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.geometric.html#numpy.random.geometric</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inShape</td><td></td></tr>
    <tr><td class="paramname">inP</td><td>(probablity of success [0, 1]) </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="a7199f5c06c0e05440e9a97e01930b896"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7199f5c06c0e05440e9a97e01930b896">&#9670;&nbsp;</a></span>geometric() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">dtype nc::random::geometric </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>inP</em> = <code>0.5</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Single random value sampled from the "geometric" distrubution.</p>
<p>NumPy Reference: <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.geometric.html#numpy.random.geometric">https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.geometric.html#numpy.random.geometric</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inP</td><td>(probablity of success [0, 1]) </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="ab2ecb1401cb11a3c816073fcbc7b05b5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab2ecb1401cb11a3c816073fcbc7b05b5">&#9670;&nbsp;</a></span>laplace() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt;dtype&gt; nc::random::laplace </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;&#160;</td>
          <td class="paramname"><em>inShape</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inLoc</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inScale</em> = <code>1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create an array of the given shape and populate it with random samples from a "laplace" distrubution.</p>
<p>NumPy Reference: <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.laplace.html#numpy.random.laplace">https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.laplace.html#numpy.random.laplace</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inShape</td><td></td></tr>
    <tr><td class="paramname">inLoc</td><td>(The position, mu, of the distribution peak. Default is 0) </td></tr>
    <tr><td class="paramname">inScale</td><td>(float optional the exponential decay. Default is 1) </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="a76e5b2a6feb9bf6a05c5dd9402f9c62f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a76e5b2a6feb9bf6a05c5dd9402f9c62f">&#9670;&nbsp;</a></span>laplace() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">dtype nc::random::laplace </td>
          <td>(</td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inLoc</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inScale</em> = <code>1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Single random value sampled from the "laplace" distrubution.</p>
<p>NumPy Reference: <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.laplace.html#numpy.random.laplace">https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.laplace.html#numpy.random.laplace</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inLoc</td><td>(The position, mu, of the distribution peak. Default is 0) </td></tr>
    <tr><td class="paramname">inScale</td><td>(float optional the exponential decay. Default is 1) </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="a3adc9de1025d27ed485603980657225b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3adc9de1025d27ed485603980657225b">&#9670;&nbsp;</a></span>lognormal() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt;dtype&gt; nc::random::lognormal </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;&#160;</td>
          <td class="paramname"><em>inShape</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inMean</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inSigma</em> = <code>1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create an array of the given shape and populate it with random samples from a "lognormal" distrubution.</p>
<p>NumPy Reference: <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.lognormal.html#numpy.random.lognormal">https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.lognormal.html#numpy.random.lognormal</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inShape</td><td></td></tr>
    <tr><td class="paramname">inMean</td><td>Mean value of the underlying normal distribution. Default is 0. </td></tr>
    <tr><td class="paramname">inSigma</td><td>Standard deviation of the underlying normal distribution. Should be greater than zero. Default is 1. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="a03d5528a3a97b3731210ba2cc5d1c75d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a03d5528a3a97b3731210ba2cc5d1c75d">&#9670;&nbsp;</a></span>lognormal() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">dtype nc::random::lognormal </td>
          <td>(</td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inMean</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inSigma</em> = <code>1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Single random value sampled from the "lognormal" distrubution.</p>
<p>NumPy Reference: <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.lognormal.html#numpy.random.lognormal">https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.lognormal.html#numpy.random.lognormal</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inMean</td><td>Mean value of the underlying normal distribution. Default is 0. </td></tr>
    <tr><td class="paramname">inSigma</td><td>Standard deviation of the underlying normal distribution. Should be greater than zero. Default is 1. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="ac6181e54b9cae303574f9c5fad33cfc2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac6181e54b9cae303574f9c5fad33cfc2">&#9670;&nbsp;</a></span>negativeBinomial() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt;dtype&gt; nc::random::negativeBinomial </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;&#160;</td>
          <td class="paramname"><em>inShape</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inN</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>inP</em> = <code>0.5</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create an array of the given shape and populate it with random samples from the "negative Binomial" distribution.</p>
<p>NumPy Reference: <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.negative_binomial.html#numpy.random.negative_binomial">https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.negative_binomial.html#numpy.random.negative_binomial</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inShape</td><td></td></tr>
    <tr><td class="paramname">inN</td><td>number of trials </td></tr>
    <tr><td class="paramname">inP</td><td>probablity of success [0, 1] </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="a1a15a08fe9134f5dcf5e7b32eb1de5e2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1a15a08fe9134f5dcf5e7b32eb1de5e2">&#9670;&nbsp;</a></span>negativeBinomial() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">dtype nc::random::negativeBinomial </td>
          <td>(</td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inN</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>inP</em> = <code>0.5</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Single random value sampled from the "negative Binomial" distribution.</p>
<p>NumPy Reference: <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.negative_binomial.html#numpy.random.negative_binomial">https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.negative_binomial.html#numpy.random.negative_binomial</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inN</td><td>number of trials </td></tr>
    <tr><td class="paramname">inP</td><td>probablity of success [0, 1] </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="af01395c7355ee4c0f36441c40039e82d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af01395c7355ee4c0f36441c40039e82d">&#9670;&nbsp;</a></span>nonCentralChiSquared() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt;dtype&gt; nc::random::nonCentralChiSquared </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;&#160;</td>
          <td class="paramname"><em>inShape</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inK</em> = <code>1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inLambda</em> = <code>1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create an array of the given shape and populate it with random samples from a "non central chi squared" distrubution.</p>
<p>NumPy Reference: <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.noncentral_chisquare.html#numpy.random.noncentral_chisquare">https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.noncentral_chisquare.html#numpy.random.noncentral_chisquare</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inShape</td><td></td></tr>
    <tr><td class="paramname">inK</td><td>(default 1) </td></tr>
    <tr><td class="paramname">inLambda</td><td>(default 1) </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="abf3cab0396026700ebf2d2ffa5e13fa6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abf3cab0396026700ebf2d2ffa5e13fa6">&#9670;&nbsp;</a></span>nonCentralChiSquared() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">dtype nc::random::nonCentralChiSquared </td>
          <td>(</td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inK</em> = <code>1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inLambda</em> = <code>1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Single random value sampled from the "non central chi squared" distrubution.</p>
<p>NumPy Reference: <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.noncentral_chisquare.html#numpy.random.noncentral_chisquare">https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.noncentral_chisquare.html#numpy.random.noncentral_chisquare</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inK</td><td>(default 1) </td></tr>
    <tr><td class="paramname">inLambda</td><td>(default 1) </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="ab655c4af3dac07aeff39efd50c120f4d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab655c4af3dac07aeff39efd50c120f4d">&#9670;&nbsp;</a></span>normal() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt;dtype&gt; nc::random::normal </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;&#160;</td>
          <td class="paramname"><em>inShape</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inMean</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inSigma</em> = <code>1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create an array of the given shape and populate it with random samples from a "normal" distrubution.</p>
<p>NumPy Reference: <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.normal.html#numpy.random.normal">https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.normal.html#numpy.random.normal</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inShape</td><td></td></tr>
    <tr><td class="paramname">inMean</td><td>Mean value of the underlying normal distribution. Default is 0. </td></tr>
    <tr><td class="paramname">inSigma</td><td>Standard deviation of the underlying normal distribution. Should be greater than zero. Default is 1. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="a0d52ff6ccaa63bc36348ba39e5936056"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0d52ff6ccaa63bc36348ba39e5936056">&#9670;&nbsp;</a></span>normal() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">dtype nc::random::normal </td>
          <td>(</td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inMean</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inSigma</em> = <code>1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Single random value sampled from the "normal" distrubution.</p>
<p>NumPy Reference: <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.normal.html#numpy.random.normal">https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.normal.html#numpy.random.normal</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inMean</td><td>Mean value of the underlying normal distribution. Default is 0. </td></tr>
    <tr><td class="paramname">inSigma</td><td>Standard deviation of the underlying normal distribution. Should be greater than zero. Default is 1. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="ac2ddd4fda3731e5f66378b191804085f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac2ddd4fda3731e5f66378b191804085f">&#9670;&nbsp;</a></span>permutation() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt;dtype&gt; nc::random::permutation </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt; &amp;&#160;</td>
          <td class="paramname"><em>inArray</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Randomly permute a sequence, or return a permuted range. If x is an integer, randomly permute np.arange(x). If x is an array, make a copy and shuffle the elements randomly.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inArray</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="a01eed1c9d55b68fa4c93afef918dd3e0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a01eed1c9d55b68fa4c93afef918dd3e0">&#9670;&nbsp;</a></span>permutation() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt;dtype&gt; nc::random::permutation </td>
          <td>(</td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inValue</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Randomly permute a sequence, or return a permuted range. If x is an integer, randomly permute np.arange(x). If x is an array, make a copy and shuffle the elements randomly.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inValue</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="ae103ffefefe45e4b64067d52a1763f24"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae103ffefefe45e4b64067d52a1763f24">&#9670;&nbsp;</a></span>poisson() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt;dtype&gt; nc::random::poisson </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;&#160;</td>
          <td class="paramname"><em>inShape</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>inMean</em> = <code>1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create an array of the given shape and populate it with random samples from the "poisson" distribution.</p>
<p>NumPy Reference: <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.poisson.html#numpy.random.poisson">https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.poisson.html#numpy.random.poisson</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inShape</td><td></td></tr>
    <tr><td class="paramname">inMean</td><td>(default 1) </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="ae18029c16ca489ea9db6331c609b20e8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae18029c16ca489ea9db6331c609b20e8">&#9670;&nbsp;</a></span>poisson() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">dtype nc::random::poisson </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>inMean</em> = <code>1</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Single random value sampled from the "poisson" distribution.</p>
<p>NumPy Reference: <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.poisson.html#numpy.random.poisson">https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.poisson.html#numpy.random.poisson</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inMean</td><td>(default 1) </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="a0f5694167e15a8bc566a3fa6f842c3b4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0f5694167e15a8bc566a3fa6f842c3b4">&#9670;&nbsp;</a></span>rand() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">dtype nc::random::rand </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Single random value sampled from the uniform distribution over [0, 1).</p>
<p>NumPy Reference: <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.rand.html#numpy.random.rand">https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.rand.html#numpy.random.rand</a></p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="a4552f49c72dc1a4d8426643fce14f214"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4552f49c72dc1a4d8426643fce14f214">&#9670;&nbsp;</a></span>rand() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt;dtype&gt; nc::random::rand </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;&#160;</td>
          <td class="paramname"><em>inShape</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create an array of the given shape and populate it with random samples from a uniform distribution over [0, 1).</p>
<p>NumPy Reference: <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.rand.html#numpy.random.rand">https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.rand.html#numpy.random.rand</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inShape</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="a531b5487f2f3e54fab878340277f7283"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a531b5487f2f3e54fab878340277f7283">&#9670;&nbsp;</a></span>randFloat() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt;dtype&gt; nc::random::randFloat </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;&#160;</td>
          <td class="paramname"><em>inShape</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inLow</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inHigh</em> = <code>0.0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Return random floats from low (inclusive) to high (exclusive), with the given shape. If no high value is input then the range will go from [0, low).</p>
<p>NumPy Reference: <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.ranf.html#numpy.random.ranf">https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.ranf.html#numpy.random.ranf</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inShape</td><td></td></tr>
    <tr><td class="paramname">inLow</td><td></td></tr>
    <tr><td class="paramname">inHigh</td><td>default 0. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="a4a261ae2a0f7783f2a5262a22b18412f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4a261ae2a0f7783f2a5262a22b18412f">&#9670;&nbsp;</a></span>randFloat() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">dtype nc::random::randFloat </td>
          <td>(</td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inLow</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inHigh</em> = <code>0.0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Return a single random float from low (inclusive) to high (exclusive), with the given shape. If no high value is input then the range will go from [0, low).</p>
<p>NumPy Reference: <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.ranf.html#numpy.random.ranf">https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.ranf.html#numpy.random.ranf</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inLow</td><td></td></tr>
    <tr><td class="paramname">inHigh</td><td>default 0. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="a2842db744ad52ca905a48cd281934fd3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2842db744ad52ca905a48cd281934fd3">&#9670;&nbsp;</a></span>randInt() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt;dtype&gt; nc::random::randInt </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;&#160;</td>
          <td class="paramname"><em>inShape</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inLow</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inHigh</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Return random integers from low (inclusive) to high (exclusive), with the given shape. If no high value is input then the range will go from [0, low).</p>
<p>NumPy Reference: <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.randint.html#numpy.random.randint">https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.randint.html#numpy.random.randint</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inShape</td><td></td></tr>
    <tr><td class="paramname">inLow</td><td></td></tr>
    <tr><td class="paramname">inHigh</td><td>default 0. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="a43201ec4ec8e0c99041647ab45ac0133"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a43201ec4ec8e0c99041647ab45ac0133">&#9670;&nbsp;</a></span>randInt() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">dtype nc::random::randInt </td>
          <td>(</td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inLow</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inHigh</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Return random integer from low (inclusive) to high (exclusive), with the given shape. If no high value is input then the range will go from [0, low).</p>
<p>NumPy Reference: <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.randint.html#numpy.random.randint">https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.randint.html#numpy.random.randint</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inLow</td><td></td></tr>
    <tr><td class="paramname">inHigh</td><td>default 0. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="aeffa74d48c1fb2603f83eaa358f17501"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeffa74d48c1fb2603f83eaa358f17501">&#9670;&nbsp;</a></span>randN() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">dtype nc::random::randN </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns a single random value sampled from the "standard normal" distribution.</p>
<p>NumPy Reference: <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.randn.html#numpy.random.randn">https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.randn.html#numpy.random.randn</a></p>
<dl class="section return"><dt>Returns</dt><dd>dtype </dd></dl>

</div>
</div>
<a id="a3c6b8fb355a9ec0bd4c9e9bb8062d1f2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3c6b8fb355a9ec0bd4c9e9bb8062d1f2">&#9670;&nbsp;</a></span>randN() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt;dtype&gt; nc::random::randN </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;&#160;</td>
          <td class="paramname"><em>inShape</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create an array of the given shape and populate it with random samples from the "standard normal" distribution.</p>
<p>NumPy Reference: <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.randn.html#numpy.random.randn">https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.randn.html#numpy.random.randn</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inShape</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="a93fe76208181d041adb08a02de0966d8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a93fe76208181d041adb08a02de0966d8">&#9670;&nbsp;</a></span>seed()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void nc::random::seed </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespacenc.html#af0f49663fb63332596e2e6327009d581">uint32</a>&#160;</td>
          <td class="paramname"><em>inSeed</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Seeds the random number generator</p>
<p>NumPy Reference: <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.seed.html#numpy.random.seed">https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.seed.html#numpy.random.seed</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inSeed</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section examples"><dt>Examples</dt><dd><a class="el" href="_gauss_newton_nlls_8cpp-example.html#a11">GaussNewtonNlls.cpp</a>, and <a class="el" href="_read_me_8cpp-example.html#a6">ReadMe.cpp</a>.</dd>
</dl>

</div>
</div>
<a id="ad73d56152095ad55887c89f47490c070"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad73d56152095ad55887c89f47490c070">&#9670;&nbsp;</a></span>shuffle()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void nc::random::shuffle </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt; &amp;&#160;</td>
          <td class="paramname"><em>inArray</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Modify a sequence in-place by shuffling its contents.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inArray</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="acc9d03c66c1fa8b35dea3fa0a0f075e7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acc9d03c66c1fa8b35dea3fa0a0f075e7">&#9670;&nbsp;</a></span>standardNormal() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">dtype nc::random::standardNormal </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Single random value sampled from the "standard normal" distrubution with mean = 0 and std = 1</p>
<p>NumPy Reference: <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.standard_normal.html#numpy.random.standard_normal">https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.standard_normal.html#numpy.random.standard_normal</a></p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="a026e31e4ef305beb2bbb546817e44eb0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a026e31e4ef305beb2bbb546817e44eb0">&#9670;&nbsp;</a></span>standardNormal() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt;dtype&gt; nc::random::standardNormal </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;&#160;</td>
          <td class="paramname"><em>inShape</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create an array of the given shape and populate it with random samples from a "standard normal" distrubution with mean = 0 and std = 1</p>
<p>NumPy Reference: <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.standard_normal.html#numpy.random.standard_normal">https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.standard_normal.html#numpy.random.standard_normal</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inShape</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="a5c18c6c123083003f32344baeb0f4ad3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5c18c6c123083003f32344baeb0f4ad3">&#9670;&nbsp;</a></span>studentT() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt;dtype&gt; nc::random::studentT </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;&#160;</td>
          <td class="paramname"><em>inShape</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inDof</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create an array of the given shape and populate it with random samples from the "student-T" distribution.</p>
<p>NumPy Reference: <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.standard_t.html#numpy.random.standard_t">https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.standard_t.html#numpy.random.standard_t</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inShape</td><td></td></tr>
    <tr><td class="paramname">inDof</td><td>independent random variables </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="a9e8074cb89e2362b5ae485834f550217"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9e8074cb89e2362b5ae485834f550217">&#9670;&nbsp;</a></span>studentT() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">dtype nc::random::studentT </td>
          <td>(</td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inDof</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Single random value sampled from the "student-T" distribution.</p>
<p>NumPy Reference: <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.standard_t.html#numpy.random.standard_t">https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.standard_t.html#numpy.random.standard_t</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inDof</td><td>independent random variables </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="abaeed48339244cfb7f214c7238b13e8b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abaeed48339244cfb7f214c7238b13e8b">&#9670;&nbsp;</a></span>triangle() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt;dtype&gt; nc::random::triangle </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;&#160;</td>
          <td class="paramname"><em>inShape</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inA</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inB</em> = <code>0.5</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inC</em> = <code>1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create an array of the given shape and populate it with random samples from the "triangle" distribution.</p>
<p>NumPy Reference: <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.triangular.html#numpy.random.triangular">https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.triangular.html#numpy.random.triangular</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inShape</td><td></td></tr>
    <tr><td class="paramname">inA</td><td></td></tr>
    <tr><td class="paramname">inB</td><td></td></tr>
    <tr><td class="paramname">inC</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="a3dd603264757ce4334bfc0b989cd4503"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3dd603264757ce4334bfc0b989cd4503">&#9670;&nbsp;</a></span>triangle() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">dtype nc::random::triangle </td>
          <td>(</td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inA</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inB</em> = <code>0.5</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inC</em> = <code>1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Single random value sampled from the "triangle" distribution.</p>
<p>NumPy Reference: <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.triangular.html#numpy.random.triangular">https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.triangular.html#numpy.random.triangular</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inA</td><td></td></tr>
    <tr><td class="paramname">inB</td><td></td></tr>
    <tr><td class="paramname">inC</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="a1e31096d678b7e4be66f6c59d95e5445"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1e31096d678b7e4be66f6c59d95e5445">&#9670;&nbsp;</a></span>uniform() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt;dtype&gt; nc::random::uniform </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;&#160;</td>
          <td class="paramname"><em>inShape</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inLow</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inHigh</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Draw samples from a uniform distribution.</p>
<p>Samples are uniformly distributed over the half - open interval[low, high) (includes low, but excludes high)</p>
<p>NumPy Reference: <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.uniform.html#numpy.random.uniform">https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.uniform.html#numpy.random.uniform</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inShape</td><td></td></tr>
    <tr><td class="paramname">inLow</td><td></td></tr>
    <tr><td class="paramname">inHigh</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="adbff3f6b80e512d4153b12bae9c6c732"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adbff3f6b80e512d4153b12bae9c6c732">&#9670;&nbsp;</a></span>uniform() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">dtype nc::random::uniform </td>
          <td>(</td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inLow</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inHigh</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Draw sample from a uniform distribution.</p>
<p>Samples are uniformly distributed over the half - open interval[low, high) (includes low, but excludes high)</p>
<p>NumPy Reference: <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.uniform.html#numpy.random.uniform">https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.uniform.html#numpy.random.uniform</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inLow</td><td></td></tr>
    <tr><td class="paramname">inHigh</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="a2f18a1f7b9311d52bbdc4ae7a7b84be6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2f18a1f7b9311d52bbdc4ae7a7b84be6">&#9670;&nbsp;</a></span>uniformOnSphere()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt;dtype&gt; nc::random::uniformOnSphere </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespacenc.html#af0f49663fb63332596e2e6327009d581">uint32</a>&#160;</td>
          <td class="paramname"><em>inNumPoints</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespacenc.html#af0f49663fb63332596e2e6327009d581">uint32</a>&#160;</td>
          <td class="paramname"><em>inDims</em> = <code>2</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Such a distribution produces random numbers uniformly distributed on the unit sphere of arbitrary dimension dim.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inNumPoints</td><td></td></tr>
    <tr><td class="paramname">inDims</td><td>dimension of the sphere (default 2) </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="af3a48c59aaa59d37bb5177b962d02bde"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af3a48c59aaa59d37bb5177b962d02bde">&#9670;&nbsp;</a></span>weibull() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt;dtype&gt; nc::random::weibull </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnc_1_1_shape.html">Shape</a> &amp;&#160;</td>
          <td class="paramname"><em>inShape</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inA</em> = <code>1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inB</em> = <code>1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create an array of the given shape and populate it with random samples from the "weibull" distribution.</p>
<p>NumPy Reference: <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.weibull.html#numpy.random.weibull">https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.weibull.html#numpy.random.weibull</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inShape</td><td></td></tr>
    <tr><td class="paramname">inA</td><td>(default 1) </td></tr>
    <tr><td class="paramname">inB</td><td>(default 1) </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<a id="a3cf0bdb15264c1ace4163042756a4765"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3cf0bdb15264c1ace4163042756a4765">&#9670;&nbsp;</a></span>weibull() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">dtype nc::random::weibull </td>
          <td>(</td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inA</em> = <code>1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inB</em> = <code>1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Single random value sampled from the "weibull" distribution.</p>
<p>NumPy Reference: <a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.weibull.html#numpy.random.weibull">https://docs.scipy.org/doc/numpy/reference/generated/numpy.random.weibull.html#numpy.random.weibull</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inA</td><td>(default 1) </td></tr>
    <tr><td class="paramname">inB</td><td>(default 1) </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library.">NdArray</a> </dd></dl>

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a id="aa541047e6b742f1c5251e72f3b7aec95"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa541047e6b742f1c5251e72f3b7aec95">&#9670;&nbsp;</a></span>generator_</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::mt19937_64 nc::random::generator_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>generator function </p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacenc.html">nc</a></li><li class="navelem"><a class="el" href="namespacenc_1_1random.html">random</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
  </ul>
</div>
</body>
</html>
